using Newtonsoft.Json.Linq;

namespace WxLib.Model{
    public class SendMsgReturn{
        public SendMsgReturn(string returnJson)
        {
            JObject joReturn = JObject.Parse(returnJson);
            Ret = (int)joReturn["BaseRequest"]["Rtn"];
            ErrMsg = (string)joReturn["BaseRequest"]["ErrMsg"];
            MsgID = (string)joReturn["MsgID"];
            LocalID = (string)joReturn["LocalID"];
        }
        public int Ret{get;set;}
        public string ErrMsg{get;set;}
        public string MsgID{get;set;}
        public string LocalID{get;set;}
    }
}